package kgc.crm.aop;

public class Test {
    public static void main(String[] args) {
        Cat cat = new Cat();
        Cat cat1 = new Cat();
        System.out.println(cat);
        System.out.println(cat1);
        System.out.println(cat == cat1);
        System.out.println(cat.equals(cat1));
        System.out.println((cat+"").equals(cat1+""));
        String a = "aaa";
        String b = "aaa";
        System.out.println(a.equals(b));
        System.out.println(a==b);
    }


}
